using System;
using FluentNHibernate.Mapping;
using Kollektiv.DB.NHibernate;

namespace Kollektiv.DataModel.NHibernate
{
	public class AttachmentMap:DataObjectMap<Attachment>
	{
		public AttachmentMap ():base()
		{
			Map (x => x.Text).Nullable ();
            Map(x => x.Path).Not.Nullable().UniqueKey("uix_AttachmentPath");
		}
	}
}

